import request from "@/utils/request.js"

//新建事项
export function addxuanchuan(data) {
    return request({
        url: `/tbUserPropagandaReport/add`,
        method: 'post',
        data
    })
}
// 查询宣传报道列表
export const getxuanchuanList = data => {
    return request({
        url: `/tbUserPropagandaReport/list`,
        data
    })
}

// 查询新建事项单条数据
export function getxuanchaun(id) {
	return request({
		url: `/tbUserPropagandaReport/get/${id}`,
		method: 'GET',
		// data:{id},
	})
}

//审批
export function shenpixuanchuan(data) {
	return request({
		url: `/tbUserPropagandaReport/approval`,
		method: 'post',
		data
	})
}